{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block page_content %}

<div class="row">
    <div class="col-md-4 col-md-offset-4">
        {{ wtf.quick_form(form, form_type='horizontial') }}
        <br />
        {%if messages %}
            {% for message in messages %}
                <div class="">
                    <p class="message">{{ message['time'] }}</p>
                    <p class="message">{{ message['context'] }}</p> <br />
                </div>

            {% endfor %}
        {% endif %}
    </div>
</div>

{% endblock %}
